package com.showde.shoppingmall.netentity;

import com.kim.net.NetEntity;
import com.showde.shoppingmall.utils.URLS;

public class LoginEntity extends NetEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2336107247188643970L;
	
	String account;
	String password;

	public LoginEntity(String account, String password) {
		this.account = account;
		this.password = password;
	}


	@Override
	protected void init() {
		this.url = URLS.URL_LOGIN;
	}

	@Override
	protected void initHttpHeader() {

	}

	@Override
	public String getSendData() {
		return "{\"Account\":\"" + account + "\",\"Password\":\"" + password
				+ "\"}";
	}

}
